package com.ruoyi.heima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.heima.domain.po.NewsType;
import java.util.List;

public interface INewsTypeService extends IService<NewsType> {

    List<NewsType> selectNewsTypeList(NewsType newsType);

    NewsType selectNewsTypeByTypeId(Long newsTypeId);

    Boolean insertNewsType(NewsType newsType);

    Boolean updateNewsType(NewsType newsType);

    Boolean deleteNewsTypeByTypeIds(List<Long> typeIds);

    Boolean deleteNewsTypeByTypeId(Long typeId);

    List<NewsType> getAll();

}
